

            
// This code is a generated code by a tool
// designed and coded by Shohdi Mohamed Elsheemy ( shohdi@gmail.com )

            
using System;
using System.Collections.Generic;
using System.Web;
namespace DatabaseComponent
{
[Serializable]
public partial class HelpDescContacts
{
System.Int64 _ID =-1;
public System.Int64 ID
{
get { return _ID;}
set { _ID = value;}
}
System.String _NameAR ="";
public System.String NameAR
{
get { return _NameAR;}
set { _NameAR = value;}
}
System.String _NameEN ="";
public System.String NameEN
{
get { return _NameEN;}
set { _NameEN = value;}
}
System.String _MiddleNameAR ="";
public System.String MiddleNameAR
{
get { return _MiddleNameAR;}
set { _MiddleNameAR = value;}
}
System.String _MiddleNameEN ="";
public System.String MiddleNameEN
{
get { return _MiddleNameEN;}
set { _MiddleNameEN = value;}
}
System.String _LastNameAR ="";
public System.String LastNameAR
{
get { return _LastNameAR;}
set { _LastNameAR = value;}
}
System.String _LastNameEN ="";
public System.String LastNameEN
{
get { return _LastNameEN;}
set { _LastNameEN = value;}
}
System.String _Phone1 ="";
public System.String Phone1
{
get { return _Phone1;}
set { _Phone1 = value;}
}
System.String _Inner1 ="";
public System.String Inner1
{
get { return _Inner1;}
set { _Inner1 = value;}
}
System.String _Phone2 ="";
public System.String Phone2
{
get { return _Phone2;}
set { _Phone2 = value;}
}
System.String _Inner2 ="";
public System.String Inner2
{
get { return _Inner2;}
set { _Inner2 = value;}
}
System.String _Mobile1 ="";
public System.String Mobile1
{
get { return _Mobile1;}
set { _Mobile1 = value;}
}
System.String _Mobile2 ="";
public System.String Mobile2
{
get { return _Mobile2;}
set { _Mobile2 = value;}
}
System.String _Email ="";
public System.String Email
{
get { return _Email;}
set { _Email = value;}
}
System.Int64 _AreaID =-1;
public System.Int64 AreaID
{
get { return _AreaID;}
set { _AreaID = value;}
}
public HelpDescContacts()
{
}
public HelpDescContacts(System.String __NameAR,System.String __NameEN,System.String __MiddleNameAR,System.String __MiddleNameEN,System.String __LastNameAR,System.String __LastNameEN,System.String __Phone1,System.String __Inner1,System.String __Phone2,System.String __Inner2,System.String __Mobile1,System.String __Mobile2,System.String __Email,System.Int64 __AreaID)
{
_NameAR = __NameAR;
_NameEN = __NameEN;
_MiddleNameAR = __MiddleNameAR;
_MiddleNameEN = __MiddleNameEN;
_LastNameAR = __LastNameAR;
_LastNameEN = __LastNameEN;
_Phone1 = __Phone1;
_Inner1 = __Inner1;
_Phone2 = __Phone2;
_Inner2 = __Inner2;
_Mobile1 = __Mobile1;
_Mobile2 = __Mobile2;
_Email = __Email;
_AreaID = __AreaID;
}
public HelpDescContacts(System.Int64 __ID,System.String __NameAR,System.String __NameEN,System.String __MiddleNameAR,System.String __MiddleNameEN,System.String __LastNameAR,System.String __LastNameEN,System.String __Phone1,System.String __Inner1,System.String __Phone2,System.String __Inner2,System.String __Mobile1,System.String __Mobile2,System.String __Email,System.Int64 __AreaID)
{
_ID = __ID;
_NameAR = __NameAR;
_NameEN = __NameEN;
_MiddleNameAR = __MiddleNameAR;
_MiddleNameEN = __MiddleNameEN;
_LastNameAR = __LastNameAR;
_LastNameEN = __LastNameEN;
_Phone1 = __Phone1;
_Inner1 = __Inner1;
_Phone2 = __Phone2;
_Inner2 = __Inner2;
_Mobile1 = __Mobile1;
_Mobile2 = __Mobile2;
_Email = __Email;
_AreaID = __AreaID;
}


             public override bool Equals(object obj)
         {
             if (obj is HelpDescContacts)
             {
                 HelpDescContacts newObj = (HelpDescContacts)obj;

                 if (newObj.ID == this.ID )
                 {
                     return true;
                 }
                 else
                 {
                     return false;
                 }
             }

             else
             {
                 return false;
             }

            
         }            











             }
}
